import type { App } from "vue";
import IBizViewShell from "./view/i-biz-view-shell.vue";
import IBizControlShell from "./control/i-biz-control-shell.vue";
import IBizEditorShell from "./editor/i-biz-editor-shell.vue";
import IBizFormDetailShell from "./form-detail/i-biz-form-detail-shell.vue";
import IBizPanelContainerShell from "./panel-container/i-biz-panel-container-shell.vue";
import IBizPanelDetailShell from "./panel-detail/i-biz-panel-detail-shell.vue";
import IBizPanelFieldShell from "./panel-field/i-biz-panel-field-shell.vue";
import IBizPanelRawItemShell from "./panel-raw-item/i-biz-panel-raw-item-shell.vue";

export const IBizShell = {
  install(v: App) {
    v.component("IBizViewShell", IBizViewShell);
    v.component("IBizControlShell", IBizControlShell);
    v.component("IBizEditorShell", IBizEditorShell);
    v.component("IBizFormDetailShell", IBizFormDetailShell);
    v.component("IBizPanelContainerShell", IBizPanelContainerShell);
    v.component("IBizPanelDetailShell", IBizPanelDetailShell);
    v.component("IBizPanelFieldShell", IBizPanelFieldShell);
    v.component("IBizPanelRawItemShell", IBizPanelRawItemShell);
  },
};
